@echo off
REM 解决中文输出乱码问题
chcp 65001

echo.
echo 拉取minio镜像
echo docker pull minio/minio
echo 启动minio容器
echo mkdir -p /minio/data

echo Linux
echo docker run -p 9000:9000  -p 9001:9001 --name minio -v /minio/data:/data -e "MINIO_ROOT_USER=ROOTNAME" -e "MINIO_ROOT_PASSWORD=CHANGEME123"   minio/minio server /data --console-address ":9001"
echo Windows 
echo docker run  -p 9000:9000  -p 9001:9001 --name minio1 -e "MINIO_ROOT_USER=ROOTUSER"  -e "MINIO_ROOT_PASSWORD=CHANGEME123" -v D:\data:/data minio/minio server /data --console-address ":9001"
pause